﻿@namespace Microsoft.AspNetCore.Components
@inherits ComponentBase
@inject IJSWindow JSWindow

@if (IsOpen)
{
    <dialog id="@ID">
        @ChildContent
    </dialog>
}